
import { columnDrop } from '@/utils/common.js'

const col = [
  {
    label: '培训名称',
    prop: 'label'
  },
  {
    label: '培训时间',
    prop: 'startTime'
  },
  {
    label: '培训讲师',
    prop: 'trainerUserName'
  },
  {
    label: '状态',
    prop: 'status'
  },
  {
    label: '创建时间',
    prop: 'createTime'
  }
]
const dropCol = [
  {
    label: '培训名称',
    prop: 'value'
  },
  {
    label: '培训时间',
    prop: 'startTime'
  },
  {
    label: '培训讲师',
    prop: 'trainerUserName'
  },
  {
    label: '状态',
    prop: 'status'
  },
  {
    label: '创建时间',
    prop: 'createTime'
  }
]

export function outColumnDrop(sortable) {
  columnDrop(sortable, dropCol)
}

export default { col, dropCol }